package com.hgz.ssmdemo.common.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 主配置类
 * 1、导入其它的配置类,统一装配
 * 2、识别当前项目中包含 @Component 注解的类
 * @author 小志
 * @date 2025/6/25 - 15:15
 */
@Configuration
@ComponentScan("com.hgz.ssmdemo")
@Import({MvcConfig.class, MybatisConfig.class})
public class RootConfig {
}
